package com.powerunion.datacollection.engine;

public class RuntimeContextFactory {
    private static RuntimeContext ctx = null;
    
    public static getRuntimeContext(){
        if (ctx==null){
            ctx = RuntimeContext.getInstance();
            ctx.setCalendarService(new DefaultCalendarService());
            ctx.setConditionResolver(new ConditionResolver());
            ctx.setDefinitionService(new DefinitionService4DBMS());
        }
    }
}
